package com.zy.zlog;

import android.util.Log;


//功能-添加统一前缀
public class ZLog {


    private static final String PRE_TAG = "ZYDebug";

    public static void d(String tag, Object v) {
        Log.d(PRE_TAG, tag + " " + v);
    }

    public static void i(String tag, Object v) {
        Log.i(tag, PRE_TAG + " " + v);
    }

    public static void e(String tag, Object v) {
        Log.e(tag, PRE_TAG + " " + v);
    }

    public static String getStackTraceString(Throwable tr) {
        return Log.getStackTraceString(tr);
    }
}
